package cn.how2go.api.service;

import cn.how2go.api.common.WarningCount;
import cn.how2go.api.entity.UserWarnning;
import cn.how2go.api.entity.Warning;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LGP
 * @since 2020-05-31
 */
public interface WarningService extends IService<Warning> {
    List<WarningCount> countByType();
    List<UserWarnning> getListUserWarnning(boolean isOld);
}
